package com.scf.fruit.order;

import java.util.List;

/**
 * @author : 孙超飞
 * @title :
 * @description :
 * @copyright :
 * @date : 2018-05-18 17:05
 */

public interface OrderInfoService {
    boolean saveOrder(OrderInfoDto dto, List<OrderDetailInfoDto> list);

    boolean deleteOrderDetail(Long id,Long userId);

    boolean deleteOrder(Long id,Long userId);

    List<OrderInfoDto> queryOrder();

    List<OrderDetailInfoDto> queryOrderDetailInfo(Long orderId);
}
